package com.ly.system.mapper;

import com.ass.llm.entity.LlmMessage;
import org.apache.ibatis.annotations.Param;

/**
 * 生成管理/代码生成字段 mapper接口
 * @author YuSheng
 * @time 2022-08-02 14:14
 */
public interface LlmMessageMapper {

    int updateByConversationId(LlmMessage llmMessage);

    int saveMessage(LlmMessage llmMessage);


    LlmMessage findMessageByConversationId(@Param("conversationId") String conversationId);

}
